import style from "./index.module.css";

export default function CommentCard({ comment }: any) {
  return (
    <>
      <section className={style["comment-card"]}>
        <section className={style["comment-user"]}>
          <img src={comment.avatar} alt="" />
          <h3>{comment.username}</h3>
        </section>
        <section className={style["comment-content"]}>
          <p>{comment.content}</p>
        </section>
      </section>
    </>
  );
}
